package com.myfir.service.user;

import java.util.List;

import com.myfir.entity.User;

public interface UserService {
	public void register(User user) throws Exception;

	public User findById(int id);

	public void updateById(User user);

	public User findByName(String name);

	public List<User> findAll();

	public List<User> searchByKeyword(String keyword);

	public void delete(User user);
}